// Problem 10: Summation of primes
// The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
// Find the sum of all the primes below two million.

package main

import (
	"fmt"
	"projecteuler/euler"
)

func p010() (ans int) {
	euler.FillPrime(2000000)
	ans = 0
	for _, p := range euler.PrimeList {
		ans += p
	}
	fmt.Println("Problem 010:", ans)
	return
}
